#ifndef __STDTHREADPOOL_H_
#define __STDTHREADPOOL_H_


struct StdThreadPool;
typedef struct StdThreadPool ThreadP;

ThreadP* InitThreadPool(int MaxThreadNumber,int MinThreadNumber,int MaxQueueSize,int second);
void AddPoolTask(ThreadP *p,void* (*funcPtr)(void*),void *arg);
void ClearThreadPool(ThreadP *p);

#endif